package com.onlinelibrary.pojo;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class User {
    private Integer id;
    private String username;
    private String password;
    private String email;
    private String nickName;
    private String headUrl;
    private String name;
    private String idNumber;
    private Integer isAdmin;
    private String bookHouse;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer state;
    /* 用户列表，存储用户的借书记录********************/
//    private List<Borrow> Borrows;
//    private List<HisBorrow> HisBorrows;
}
